package com.yiqi.lottery.feature.documentary.contract;

import com.suozhang.framework.entity.bo.PageData;
import com.suozhang.framework.framework.BasePresenter;
import com.suozhang.framework.framework.BaseView;
import com.yiqi.lottery.entity.bo.HallBo;
import io.reactivex.Observable;

public interface DocumentaryContract {

    interface Model {
        Observable<PageData<HallBo>> getHallList(String keyword,int page,Integer bet_type,Integer tab);
    }

    interface View extends BaseView {
        void showHallListSuccess(PageData<HallBo> hallBoPageData);
        void showHallListError(String ex);
        void showHallListMoreSuccess(PageData<HallBo> hallBoPageData);
        void showHallListMoreError(String ex);
        void showHallListEmpty();
    }


    interface Presenter extends BasePresenter {
        void getHallList(String keyword,int page,Integer bet_type,Integer tab );
        void getHallMoreList( String keyword,int page,Integer bet_type,Integer tab);
    }
}
